﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _404park.Core.Content
{
    public class Keyword
    {
        public string Word { get; set; }
        public string ClickUrl { get; set; }
        public int Rating { get; set; }
        public IList<Tag> Tags { get; set; }

        public Keyword()
        {
            Tags = new List<Tag>();
        }

        public void AddTag(Tag tag)
        {
            tag.KeywordList.Add(this);
            Tags.Add(tag);
        }
    }
}
